Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define pipeline jobs using JCasC and Job DSL #324

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mkaapu
Copy link
Contributor

@mkaapu mkaapu commented Dec 9, 2024

Install Jenkins Job DSL plugin.
Define pipelines jobs using JCasC.
Scheduling builds for pipeline jobs when JCasC configuration is loaded.

Related PR changes pipeline jobs so that only their configuration is loaded when JCasC is loaded:
tiiuae/ghaf-jenkins-pipeline#110

@mkaapu
Copy link
Contributor Author

mkaapu commented Dec 10, 2024

rebased

# https://github.com/jenkinsci/job-dsl-plugin
# https://jenkinsci.github.io/job-dsl-plugin
jobs:
- script: >
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a lot of duplication in here. Can we keep this generated by Nix, and call a helper function with the different arguments for things that differ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants